<script>
export default {
  data() {
    return {

    }
  },
  onLoad() {
    if (uni.getStorageSync('access_token')) {
      uni.reLaunch({ url: '/pages/index/index' })
    } else {
      uni.reLaunch({ url: '/pages/login/login' })
    }
  }
}
</script>

<style>
</style>
